package cn.sourcespro.shiro;

import cn.sourcespro.shiro.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * security
 *
 * @author zhanghaowei
 * @date 2018/7/12
 */
@SpringBootApplication
public class ShiroApplication {

    @Bean
    public SpringUtil springUtil(){
        return new SpringUtil();
    }

    public static void main(String[] args) {
        SpringApplication.run(ShiroApplication.class, args);
    }

}
